implemented stats and achievement page and its components#49
Merged
Iwueseiter merged 7 commits intoChain-Library:mainfrom Jul 4, 2025
Merged
Conversation
Contributor
Author
|
@Iwueseiter kindly review. |
Contributor
Hello @CMI-James, you didn't implement the profile pages. |
Contributor
Author
I have created the readers profile page, kindly review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Closes #43
Changes proposed
What were you told to do?
Implement stats & achievements Pages (#43) - Create dedicated profile and achievements pages that showcase a reader's details and accomplishments with dynamic time filtering functionality.
What did you do?
Files Created:
app/dashboard/stats-and-achievements/page.tsx- Main stats page with dynamic time filteringcomponents/stats-achievements/time-filter.tsx- Time period filter componentcomponents/stats-achievements/stats-grid.tsx- Dynamic statistics grid that updates with time filtercomponents/stats-achievements/badge-section.tsx- User rank and progress displaycomponents/stats-achievements/goals-section.tsx- Reading goals with progress trackingcomponents/stats-achievements/achievements-section.tsx- Achievement badges displayFiles Modified:
components/dashboard/sidebar.tsx- Added "Stats & Achievements" navigation itemKey Features Implemented:
The implementation provides a complete reading statistics dashboard that changes data dynamically based on selected time periods, matching the provided desktop and mobile designs.
Check List (Check all the applicable boxes)
🚨Please review the contribution guideline for this repository.
Screenshots/Videos